from rest_framework import serializers
from .models import Active

class ActiveSerializer(serializers.ModelSerializer):
    """图书数据序列化器"""
    class Meta:
        model = Active
        fields = '__all__'